/**
 * 
 */
package br.com.skynix.tcmc.service.configuracao.servicos.tipos_planos;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.skynix.tcmc.base.spring.AbstractDao;
import br.com.skynix.tcmc.base.spring.AbstractServiceImpl;
import br.com.skynix.tcmc.model.rh.Empresa;
import br.com.skynix.tcmc.model.servico.TipoPlano;

/**
 * @author davi
 * 
 */
@Service
public class TipoPlanoServiceImpl extends AbstractServiceImpl<TipoPlano>
		implements TipoPlanoService {

	@Autowired
	private TipoPlanoDao dao;

	/*
	 * (non-Javadoc)
	 * 
	 * @see br.com.skynix.tcmc.base.spring.AbstractServiceImpl#getDao()
	 */
	@Override
	protected AbstractDao<TipoPlano> getDao() {
		return dao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see br.com.skynix.tcmc.service.configuracao.servicos.tipos_planos.
	 * TipoPlanoService#listarTodos(br.com.skynix.tcmc.model.rh.Empresa)
	 */
	@Override
	public List<TipoPlano> listarTodos(Empresa empresa) {
		return dao.listarTodos();
	}
}
